package com.gym.controller;

import com.gym.domain.Server;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务器监控
 *
 * @author ruoyi
 */
@RestController
public class ServerController {
    @GetMapping("/system/jk")
    public Server server(ModelMap mmap) throws Exception {
        Server server = new Server();
        server.copyTo();
        return server;
    }
}
